<include file="Common:header" />
<table id="columns">
<tr>
<td id="main">
<php>if($user[user_id]!=$my[user_id]){</php>
    <include file="Space:prohead" />
<php>}</php>
<div class="contenter">
    <div class="indexh" style="margin-bottom:10px">
        <div class="fleft">
            <div class="taboff"><a href="<{:SITE_URL}>/<{$user[user_name]}>/following"><php>if($user[user_id]==$my[user_id]){</php>我<php>}else{</php>TA<php>}</php>收听的</a></div>
            <div class="tabon"><php>if($user[user_id]==$my[user_id]){</php>我<php>}else{</php>TA<php>}</php>的听众</div>
        </div>
        <div class="fright" style="margin:15px 10px 0 0">共 <{$user['followme_num']}> 个听众</div>
    </div>
    
    <div id="stream" class="message">
        <ol class="wa">
        <php>if($user['followme_num']>0){</php>
            <php>foreach($follower as $val){</php>
            <li class="unlight">
                <a href="<{:SITE_URL}>/<{$val['user_name']}>" title="<{$val['nickname']}>" class="avatar"><img src="<{:sethead($val['user_head'])}>" alt="<{$val['nickname']}>" width="48px" /></a>
                <span class="fleft">
                    <a href="<{:SITE_URL}>/<{$val['user_name']}>" style="margin-left:5px" class="<{:setvip($val[user_auth])}>"><{$val['nickname']}></a><small>(@<{$val['user_name']}>)</small><br/>
                    <span class="actions">
                        <span style="color:#999999;margin-left:5px">
                        收听 <a href="<{:SITE_URL}>/<{$val['user_name']}>/following"><b><{$val['follow_num']}></b></a> 人&nbsp;&nbsp;&nbsp;&nbsp;听众 <a href="<{:SITE_URL}>/<{$val['user_name']}>/follower"><b><{$val['followme_num']}></b></a> 人&nbsp;&nbsp;&nbsp;&nbsp;广播 <a href="<{:SITE_URL}>/<{$val['user_name']}>"><b><{$val['msg_num']}></b></a> 条
                        </span>
                    </span>
                </span>
                <span class="fright actions">
                     <php>if($val[user_id]!=$my[user_id]){</php>
                        <span id='followsp_<{$val[user_name]}>'>
                            <php>if($isfollower[$val[user_id]]==1){</php>
                            <span class="followbtn"><img src="<{:__PUBLIC__}>/images/fico2.gif"> 已收听&nbsp;|&nbsp;<a href="javascript:void(0)" onclick="followop('delfollow/user_name/<{$val[user_name]}>','确认要解除收听 <{$val['nickname']}> 吗？','jc','<{$val[user_name]}>','<{$val['nickname']}>','<{:$isfollower[$val[user_id]]}>')">取消</a></span>
                            <php>}else if ($isfollower[$val[user_id]]==3){</php>
                            <span class="followbtn"><img src="<{:__PUBLIC__}>/images/fico.gif"> 互相收听&nbsp;|&nbsp;<a href="javascript:void(0)" onclick="followop('delfollow/user_name/<{$val[user_name]}>','确认要解除收听 <{$val['nickname']}> 吗？','jc','<{$val[user_name]}>','<{$val['nickname']}>','<{:$isfollower[$val[user_id]]}>')">取消</a></span>
                            <php>}else{</php>
                            <a class="bh" onclick="followop('addfollow/user_name/<{$val[user_name]}>','','gz','<{$val[user_name]}>','<{$val['nickname']}>','<{:$isfollower[$val[user_id]]}>')">收听一下</a>
                            <php>}</php>
                        </span>
                    <php>}</php>
                </span>
            </li>
            <php>}</php>
        <php>}else{</php>
            <li class="unlight" id="nonemsg">这里还没有任何人</li>
        <php>}</php>
        </ol>
    </div>
    <div class="clearline"></div>
</div>
</td>
    <td id="sidebar" rowspan="2">
        <php>if($user[user_id]==$my[user_id]){</php><include file="Space:homeside" /><php>}else{</php><include file="Space:proside" /><php>}</php>
    </td>
</tr>
<tr>
    <td height="36px">
        <div id="indexpage" class="page"><{$page}></div>
    </td>
</tr>
</table>
<script type="text/javascript">$(document).ready(function(){$(".newst").remove();closetip("t_follow");});</script>
<include file="Common:foot" />